package cn.glc.daily.life.infrastructure.repository.mysql;

import cn.glc.daily.life.infrastructure.dao.TemplateDao;
import cn.glc.daily.life.infrastructure.po.TemplatePo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;

/**
 * 模板
 *
 * @author simon
 * @date 2021/6/4 18:13
 * @copyright:
 * @modifier
 * @motto a no talent, people who have to study hard
 */
@Repository
public class TemplateRepository extends ServiceImpl<TemplateDao, TemplatePo> implements IService<TemplatePo> {

    public TemplatePo findByCode(String code) {
        return super.baseMapper.findByCode(code);
    }
}
